﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Common.Exceptions
{
    /// <summary>
    /// 无效的配置项
    /// </summary>
    public class InvalidConfigurationException : JaredsException
    {
        /// <summary>
        /// 无效的配置项
        /// </summary>
        /// <param name="key">配置名</param>
        /// <param name="value">配置值</param>
        public InvalidConfigurationException(string key, string value) : base($"配置项（{key}）的值（{value}）无效")
        {

        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="msg"></param>
        public InvalidConfigurationException(string msg) : base(msg)
        {

        }
    }
}
